package com.hzcx.app.simplechat.ui.setting.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.publicui.bean.ProtocolBean;
import com.hzcx.app.simplechat.ui.publicui.bean.UpdateVersionBean;

public interface AboutContract {

    interface View extends IView {
        void protocolResult(ProtocolBean data);
        void updateVersionResult(UpdateVersionBean data);
    }

    interface Presenter extends IPresenter<View> {
        void getProtocol(Context context, String type);
        void updateVersion(Context context);
    }

}
